package com.literature.threeGroup.mapper;

import com.literature.threeGroup.pojo.Cover;
import com.literature.threeGroup.pojo.CoverOrder;
import com.literature.threeGroup.pojo.CoverOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface CoverOrderMapper {
    long countByExample(CoverOrderExample example);

    int deleteByExample(CoverOrderExample example);

    int deleteByPrimaryKey(String orderId);


    int insert(CoverOrder record);

    int insertSelective(CoverOrder record);

    List<CoverOrder> selectByExample(CoverOrderExample example);

    CoverOrder selectByPrimaryKey(String orderId);

    int updateByExampleSelective(@Param("record") CoverOrder record, @Param("example") CoverOrderExample example);

    int updateByExample(@Param("record") CoverOrder record, @Param("example") CoverOrderExample example);

    int updateByPrimaryKeySelective(CoverOrder record);

    int updateByPrimaryKey(CoverOrder record);

    int deleteByPrimaryKeycoverId(String coverId);

    CoverOrder selectByPrimaryKeycoverId(String coverId);

    List<CoverOrder> selectBycoverId(String coverId);
    /**
     * @name  提交审核
     * @Author VULCAN
     * @Date 2020/2/1 20:58
     */
    int updateaudit(CoverOrder record);
}